/*
 * @Description: App首页通知API
 * @Version: 2.0
 * @Autor: 许国辉
 * @Date: 2022-12-03 09:20:53
 * @LastEditors: 许国辉
 * @LastEditTime: 2023-10-04 14:06:11
 */
import { IndexStatisticsModelResult } from './model/indexStatisticsModel';
import { defHttp } from '/@/utils/http/axios';
enum Api {
  getAllJourneyStatistics = '/indexPage/getAllJourneyStatistics',
}

export function getAllJourneyStatistics(params: any) {
  return defHttp.post<IndexStatisticsModelResult>({
    url: Api.getAllJourneyStatistics,
    params,
    headers: {
      ignoreCancelToken: true,
    },
  });
}
